package com.lemobar.pay.exception;

import com.lemobar.pay.enums.LmbPayExResultEnum;


public class LmbPayException extends RuntimeException {

    private Integer code;

    public LmbPayException(LmbPayExResultEnum resultEnum) {
        super(resultEnum.getMsg());
        code = resultEnum.getCode();
    }

    public Integer getCode() {
        return code;
    }
}
